package com.my.code.filesort;

import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * -
 *
 * @author zzl
 * @date 2020/10/13
 */
public class FileUtil {

    public List<String> splitBySize(String filename, int byteSize) {
        List<String> parts = new ArrayList<>();
        File file = new File(filename);
        int count = (int) (file.length() / byteSize);
        //ThreadPoolExecutor threadPool = new ThreadPoolExecutor(count, )


        return parts;
    }

}
